home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
fxwindow.arc
/
FXWINDOW.DOC
next >
Wrap
Text File
|
1991-04-28
|
7KB
|
213 lines
F/X-Windows 1.0a
System Documentation
Written By Tom Bradford
(C) 1988 By F/X-Software Systems And Tom Bradford
Contents Of This Documentation:
1 - Licensing Agreement / Registration .................. 1
2 - Procedures Of The UNIT .............................. 2
3 - Credits ............................................. 4
1 - Licensing Agreement / Registration Page 1
F/X-Windows is the copyrighted work of F/X-Software Systems and Tom
Bradford. The routines provided in the Turbo Pascal(R) UNIT FXWindow
are to be freely distributed under the following conditions:
o All copies used either Publicly, Privately, or Commercially are
to be registered with the author of the UNIT prior to distribution
as part of another package.
o If the UNIT is to be used in any form other than public domain or
personal usage, the party implementing the UNIT "Must" receive the
prior consent of the author.
o If used, it must be noted to the user of the software that the
software implements the UNIT. This can either be in the program's
documentation, in the actual run-time program, or both.
o The UNIT can be distributed only in unmodified form.
Please send your registrations including your Name, Home Phone Number,
BBS Number (If you have one), the application's name of which will
implement the UNIT, and Address to:
F/X-Software Systems
Attn: Tom Bradford
77 Marion St. Apt #3
Boston, Ma. 02128
Phone: (617)561-0121 (Voice/Home)
(617)567-8993 (BBS/1200)
Thank you very much for your cooperation. Your registration entitles
you to revised versions of F/X-Windows and also to receive any new
software produced by F/X-Software Systems at half of its retail price.
- Tom Bradford
2 - Procedures Of The UNIT Page 2
F/X-Windows is a Turbo Pascal(R) 5.0 (and 4.0) Compile-Time UNIT that
allows use of Pop-Up windows in your Turbo Pascal(R) 5.0 (and 4.0)
programs. The UNIT is called from your source code by the following
line:
Uses FXWindows;
This line inserts the temporary link code of the UNIT into your compiled
code at compile time.
The UNIT has 7 main procedures that can be called from your programs.
These are:
Type: Procedure
Name: Color
Parameters: FG,BG : Integer
Definition: Sets the screen Foreground color (0-15) and Background
color (0-7).
Calling Example: Color(15,1);
Output Of Example: White Foreground and Blue Background.
Type: Procedure
Name: DrawWindow
Parameters: X1,Y1,X2,Y2,FG,BG,Border : Integer - Shadow : Boolean
Definition: Places a bordered window on the screen from coordinates
X1(1-80),Y1(1-25) to X2(1-80),Y2(1-25) in the colors
specified by FG and BG (see Color), with a border
ranging from 1 to 6 and also shadows the window depending
on the value of the variable Shadow.
Calling Example: DrawWindow(5,5,75,20,15,5,1,True);
Output Of Example: Draws a window from 5,5 to 75,20 with a white
border color and magenta background color, a
double-line border type and also puts a shadow
on the lower-right of the screen.
Page 3
Type: Procedure
Name: MoveWindow
Parameters: X,Y : Integer - Shadow : Boolean
Definition: Moves the current window to the new coordinates (X,Y) on
the screen, also shadows the window depending on the
value of the variable Shadow.
Calling Example: MoveWindow(2,2,False);
Output Of Example: Moves the current window from wherever it is to the
new upper-left coordinates defined by X,Y.
Type: Procedure
Name: RemoveWindow
Parameters: None
Definition: Removes the current window and restores any data displayed
beneath it.
Calling Example: RemoveWindow;
Output Of Example: As defined.
Type: Procedure
Name: SaveStartUpWindow
Parameters: None
Definition: Saves the current screen as the Start Up (Screen 0) Window.
Calling Example: SaveStartUpWindow;
Output Of Example: None evident, but works as defined.
Type: Procedure
Name: UnInitWindow
Parameters: None
Definition: Removes any windows on the screen and displays the Start Up
Window.
Calling Example: UnInitWindow;
Output Of Example: Removes all windows (if any) from the screen and
displays whatever data that was being displayed
when the program started up.
3 - Credits Page 4
A great many thanks go out to all of the people who have contributed
ideas and comments to this project. I most notably would like to thank:
Keith La Riviere The Remote Operator of my bulletin board system who
co-founded F/X-Software Systems with me.
Kibby Collins F/X-Software Systems' business coordinator who
contributed a wealth of ideas as to the production
of the windowing routines.
Jeremy Lew A fellow programmer who constantly hounds me on the
most incredibly small flaws in my coding (and he
better register his copy too).
Peter Neuendorffer Yet another fellow programmer. Pete got the first
peak at the rough source code and was attracted to
it almost immediately.
Well, that's basically it. If you have any questions, please feel free to
send them to the previously mentioned address. I will respond as promptly
as possible.
- Tom Bradford
21 Dec 1988